package com.onenine.app.activity;

import android.widget.TextView;

import com.onenine.app.R;
import com.onenine.base.base.BaseActivity;
import com.onenine.common.util.AppUtils;

/**
 * 关于版本
 */
public class AboutActivity extends BaseActivity {

    @Override
    protected int getLayout() {
        return R.layout.activity_about;
    }

    @Override
    protected void initViews() {
        super.initViews();
        mToolbar.setCenterTitle(R.string.about);
        TextView vVersion = findViewById(R.id.tv_version);
        vVersion.setText("v" + AppUtils.getAppVersionName());
//        TextView vContent = findViewById(R.id.tv_about_content);
//        vContent.setLinkTextColor(RoleResLoader
//                .getRoleColorResourceId(RoleResLoader.DynamicResName.THEME_COLOR));
    }

}
